package edu.gmu.atelier;

/**
 * Assumes the equation Ax=b and solves for x given A (usually implicit) and b.
 * <p>
 * Not all solvers can exactly compute x and will fail if b is not in
 * the span(A), others, such as least squares solvers, find the closest
 * point in the span(A) to b.
 * @author James H. Pope
 */
public interface Solver
{
    /**
     * Solves for closest point in span(A) to b.
     * @param b
     * @return x*
     */
    public Vector solve( Vector b );
}
